#pragma once
#include "afxwin.h"
#include "afxcmn.h"


// CPatterns dialog

class CPatterns : public CPropertyPage
{
	DECLARE_DYNAMIC(CPatterns)

public:
	CPatterns(CWnd* pParent = NULL);   // standard constructor
	virtual ~CPatterns();

// Dialog Data
	enum { IDD = IDD_PATTERNS };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	BOOL onlyPostGet;
	BOOL OnInitDialog();
	CEdit textInput;
	CEdit textOutput;
	CListCtrl listPatterns;
	afx_msg void OnLvnItemchangedListpattern(NMHDR *pNMHDR, LRESULT *pResult);
	void AddPair(LPWSTR Pattern, LPWSTR Safe);
public:
	afx_msg void OnBnClickedAdd();
};
